package com.rh.service;

import com.rh.entity.EduComment;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * 评论 服务类
 * @author rh
 */
public interface EduCommentService extends IService<EduComment> {
    //分页查询评论
    Map<String, Object> getCommentPageList(long page, long limit, String courseId);
    //添加评论
    int addComment(HttpServletRequest request, EduComment eduComment);

}
